package models

import "gorm.io/gorm"

type Login struct {
	gorm.Model
	Username string
	Password string
}

func (l *Login) Getss() error {
	return DB.Where("username=?", l.Username).Limit(1).Find(&l).Error
}
